package com.wkk.nursinghome.service;



import com.wkk.nursinghome.domain.Employee;

import java.util.List;

public interface IEmployeeService {
   //查询所有员工信息
    List<Employee> selectAll();
    //新增员工
    void addEmployee(Employee employee);

    boolean updateEmployee(Employee employee);

    Employee queryById(Integer id);

    boolean deleteEmployeeById(Integer id);
    //根据条件查询
    List<Employee> selectByCondition(Employee employee);
    //登录
    boolean login(Integer id,String name);
}
